package cn.tedu.zhyl.base.response;

import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum StatusCode {
    SUCCESS_OPERATION(200,"操作成功"),
    FAIL_OPERATION(201,"操作失败"),


    REG_SUCCESS(200,"注册成功"),
    REG_FAIL(201,"注册失败"),

    USERNAME_NOT_EXIST(1001,"用户名不存在"),
    PASSWORD_ERROR(1002,"密码错误" ),
    NOT_LOGIN(2001,"未登录" ),
    TOKEN_EXPIRED(401,"token过期" ),
    REMOVE_MENU_ERROR(6001, "先删除子菜单！"),



    FILE_DELETED_ERROR(6101,"删除文件失败" ),
    EXIST_RESERVATION(4200,"此手机号已预约该时间" );


    private final Integer code;
    private final String msg;
}
